package com.hantang.devops.appgenerator.core.engine.java;

import com.hantang.devops.appgenerator.core.engine.CodeGenerateChain;
import com.hantang.devops.appgenerator.core.engine.CodeGenerateHandler;
import com.hantang.devops.appgenerator.core.engine.CodeGenerateRequest;
import com.hantang.devops.appgenerator.core.engine.CodeGenerateResponse;
import com.hantang.devops.appgenerator.model.ModelBean;

public class JavaCodeGenerateHandler implements CodeGenerateHandler {

	public void doCodeGenerate(CodeGenerateRequest request, CodeGenerateResponse result,
			CodeGenerateChain filterChain) {
		// TODO Auto-generated method stub
		System.out.println("Java Code Generate");
		ModelBean model = (ModelBean)request.getGeneratedBean();
		
		filterChain.executeCodeGenerate(request, result);
	}

}
